package com.xtxk.mapper;

import com.xtxk.config.MyMapper;
import com.xtxk.entity.ProductEntity;
import org.apache.ibatis.annotations.Param;

/**
 * 商品表映射器
 */
public interface ProductMapper extends MyMapper<ProductEntity> {

    /**
     * 减少库存数量
     */
    int updateStoreNum(@Param("pId") int pId, @Param("productNum") int productNum);
}
